package com.github.zengfr.conuniframework.cloud.service.interfaces;

import com.github.zengfr.conuniframework.cloud.service.config.FeignConfiguration;
import org.springframework.cloud.client.ServiceInstance;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;
@FeignClient(value = "a-service", path = "/product", configuration = FeignConfiguration.class)
public interface ProductClient {
    @GetMapping(value = "/")
    public String process();

    @GetMapping(value = "/processA")
    public String processA();

    @GetMapping(value = "/processB")
    public String processB();
}
